using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Crm;

/// <summary>
/// 项目报价
/// </summary>
public class CrmProjectQuoteDto : AppEntity
{
    /// <summary>
    /// 项目编号
    /// </summary>
    [Required]
    public long ProjectId { get; set; } = 0;

    /// <summary>
    /// 次数
    /// </summary>
    [Required]
    public string Num { get; set; }

    /// <summary>
    /// 报价金额
    /// </summary>
    [Required]
    public decimal Money { get; set; } = 0;

    /// <summary>
    /// 产品金额
    /// </summary>
    [Required]
    public decimal ProductMoney { get; set; } = 0;

    /// <summary>
    /// 状态
    /// </summary>
    [Required]
    public bool Status { get; set; } = false;

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;


}